﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DinhMuc.Public;
using DinhMuc.DAL;
using System.Windows.Forms;

namespace DinhMuc.BUL
{
   public class tblPhanQuyenBUL
    {
       tblPhanQuyenDAL phanQuyen = new tblPhanQuyenDAL();
       public int xetPhanQuyenTrongForm(string maQL, string tenForm, Button xem, Button them, Button xoa, Button sua)
       {
           int exe = 0;
           try
           {
               exe = phanQuyen.xetQuyenTrongForm(maQL, tenForm, xem, them, xoa, sua);
           }
           catch (Exception ex)
           {
               MessageBox.Show(ex.Message);
           }
           return exe;
       }
    }
}
